home *** CD-ROM | disk | FTP | other *** search
- //: C26:Tracetst.cpp
- // From Thinking in C++, 2nd Edition
- // Available at http://www.BruceEckel.com
- // (c) Bruce Eckel 1999
- // Copyright notice in Copyright.txt
- // Test of trace.h
- #include "../require.h"
- #include <iostream>
- #include <fstream>
- using namespace std;
-
- #define TRACEON
- #include "Trace.h"
-
- int main() {
- ifstream f("Tracetst.cpp");
- assure(f, "Tracetst.cpp");
- cout << f.rdbuf();
- } ///:~
-